package com.lq.ecoldchain.ui.withdraw.addcard

import com.alibaba.android.arouter.facade.annotation.Route
import com.lq.ecoldchain.R
import com.lq.ecoldchain.base.BaseNavigator
import com.lq.ecoldchain.base.view.BaseActivity
import com.lq.ecoldchain.databinding.ActivityAddCardBinding
import org.kodein.di.Kodein
import org.kodein.di.generic.instance

/*
*2019/1/6 0006  16:00
*function by lq
*/
@Route(path = BaseNavigator.addcard)
class AddCardActivity:BaseActivity<ActivityAddCardBinding>(){
    override val layoutId = R.layout.activity_add_card
    override val viewDelegate: AddCardDelegate by instance()

    override fun initView() {
        binding.delegate = viewDelegate
        titleText("添加借记卡")
    }

    override val kodein = Kodein.lazy {
        extend(parentKodein)
        import(addcardKodeinMoudle)
    }

}